package com.xy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication(scanBasePackages = {"com.xy.test"})
public class AuthServer {
    public static void main(String[] args) {
        ConfigurableApplicationContext applicationContext = SpringApplication.run(AuthServer.class, args);
        String useLocal = applicationContext.getEnvironment().getProperty("com.useLocal");
        System.err.println("useLocal:" + useLocal);

    }
}